<?php
if(!function_exists("merge")) {
	function merge()
	{
		$merged = array();
		foreach(func_get_args() as $arg) {
			foreach($arg as $key=>$value) {
				$merged[$key] = $value;
			}
		}
		return $merged;
	}
}

if(!function_exists("setOptions")) {
	function setOptions($public, $private)
	{
		//echo "<h1>setOptions</h1>";
		//echo "<font color='blue'>private</font><br>";
		//print_r($private);
		//echo "<br><font color='blue'>public</font><br>";
		//print_r($public);
		return merge($public, $private);
	}
}

if(!function_exists("low")) {
	function low($string)
	{
		return strtolower($string);
	}
}
?>